package ch4tree;

public class TreeNode {
	public int val;
	public TreeNode left;
	public TreeNode right;
	TreeNode parent;
	
	public TreeNode(int value) {
		this.val = value;
	}

	@Override
	public String toString() {
		return Integer.toString(val);
	}
}
